<template>
  <div id="appv2">
    <!-- <button @click="sendMessage">给vue3项目发送数据</button> -->
    <router-view />
  </div>
</template>

<script>
export default {
  methods: {
    sendMessage() {
      window.custom.emit('test1', '我是vue2发送过来的数据')
    }
  }
}
</script>

<style lang="scss"></style>
